package cn.gdut.chengcai.dao;

import cn.gdut.chengcai.entity.SecretKeyInfo;
import cn.gdut.chengcai.entity.SecretKeyInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SecretKeyInfoDao {
    long countByExample(SecretKeyInfoExample example);

    int deleteByExample(SecretKeyInfoExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SecretKeyInfo record);

    int insertSelective(SecretKeyInfo record);

    List<SecretKeyInfo> selectByExample(SecretKeyInfoExample example);

    SecretKeyInfo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SecretKeyInfo record, @Param("example") SecretKeyInfoExample example);

    int updateByExample(@Param("record") SecretKeyInfo record, @Param("example") SecretKeyInfoExample example);

    int updateByPrimaryKeySelective(SecretKeyInfo record);

    int updateByPrimaryKey(SecretKeyInfo record);
}